home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Software Vault: The Gold Collection
/
Software Vault - The Gold Collection (American Databankers) (1993).ISO
/
cdr26
/
dos60sup.zip
/
SD6COPY.BAT
< prev
next >
Wrap
DOS Batch File
|
1993-04-05
|
630b
|
35 lines
@echo off
if not "%1"=="" goto checkit
echo You must run SETUP.BAT to install the Supplemental Utilities
goto done
:checkit
if "%1"=="CHANGEDISK" goto chngdsk
if not exist %2\%1 goto doit
echo There is already a file named %1 in %2.
%2\choice /c:yn "Overwrite it? Yes, No "
if errorlevel 2 goto done
:doit
echo Copying %1 to %2\%1
%2\expand %1 %2\%1 > NUL
if "%3"=="D" setver %1 /D /QUIET > NUL
goto done
:chngdsk
if "%SD6%"=="%2" goto done
if exist DISKID0%2.BAT goto newdisk
echo.
echo Please insert Supplemental Disk %2 in the drive.
pause
goto chngdsk
:newdisk
set SD6=%2
:done